
#include <QtCore/QCoreApplication>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include "MyStringTest.h"
#include <cppunit/ui/text/TextTestRunner.h>
#include <iostream>

CPPUNIT_TEST_SUITE_REGISTRATION ( MyStringTest );

int main(int argc, char *argv[])
{
	//QCoreApplication a(argc, argv);

	//return a.exec();

	CppUnit::Test *test =
		CppUnit::TestFactoryRegistry::getRegistry().makeTest();
	CppUnit::TextTestRunner runner;
	runner.addTest(test);

	runner.run();
	char c;
	std::cin >> c ;

	return 0;
}
